﻿namespace TSharp.Core.Service
{
    class MailService : IMailService
    {
        public bool Send(string Host, int Port, int Timeout, bool EnableSsl, string UserName, string PassWord, System.Net.Mail.MailMessage Message, bool IsSync, System.Net.Mail.SendCompletedEventHandler CompletedCallBack)
        {
            return Util.Mail.SendMail(Host, Port, Timeout, EnableSsl, UserName, PassWord, Message, IsSync, CompletedCallBack);
        }
    }
}